<?php

if ($_SESSION['role'] == 'Student') {
    ?>
    <a href="memberHome.html">Home</a> |
    <a href="createPortfolio.html">Create Portfolio</a> |
    <a href="viewPortfolio.html">View Portfolio</a> |
    <a href="tradeHistory.html">Trade History</a> |
    <a href="viewUserStocks.html">View Available Stocks</a> |
    <a href="generateReport.html">Generate Report</a>
    <?php
} else if ($_SESSION['role'] == 'Facilitator') {
    //facilitator
    ?>
    <a href="faciHome.html">Home</a> |
    <a href="controlPanel.html">Control Panel</a> |
    <a href="createPortfolio.html">Create Portfolio</a> |
    <a href="viewPortfolio.html">View Portfolio</a> |
    <a href="tradeHistory.html">Trade History</a> |
    <a href="viewUserStocks.html">View Available Stocks</a> |
    <a href="generateReport.html">Generate Report</a>
    <?php
} else {
    //public
    ?>
    <a href="index.html">Home</a> |
    <a href = "howTo.html">How-To</a> |
    <a href = "contactUs.html">Contact Support</a> |
    <a href = "sitemap.html">Sitemap</a>
    <?php
}
?>